html {
  overflow-y: hidden;
  height: 100%;
  font-size: 14px;
}

body {
  height: 100%;
  display: flex;
  flex-direction: column;
  user-select: none;
}

.modal-footer .button {
  padding-left: 20px;
  padding-right: 20px;
}

.svg-icon {
  width: 1em;
  height: 1em;
  vertical-align: -0.15em;
  fill: currentColor;
  overflow: hidden;
}

.login-form {
  .label {
    margin-bottom: 0;
  }
}

.drag-over {
  background-color: #f5fbff;
}

/*
* 覆盖 bulma
*/

.breadcrumb li.is-active a {
  cursor: pointer;
  pointer-events: inherit;
}

.breadcrumb a {
  padding: 0.5em 0.5em;
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 150px;
}

.breadcrumb > ul {
  padding-left: 15px;
}

/*
* 覆盖 balloon-css
*/

[data-balloon]:after {
  font-family: inherit !important;
}

/*
* 进度条提示
*/

.file-progress {
  position: absolute;
  width: 360px;
  right: 12px;
  font-size: 12px;
  bottom: 0;
  z-index: 10;
  box-shadow: 0 2px 8px rgba(10, 10, 10, 0.1), 0 0 0 1px rgba(10, 10, 10, 0.1);
  .card-block {
    cursor: pointer;
    .card-block-title {
      overflow: hidden;
      white-space: nowrap;
      text-overflow: ellipsis;
      flex-grow: 1;
    }
    .card-block-icon {
      padding-right: 8px;
      padding-left: 8px;
    }
  }
  .progress-bar {
    width: 20px;
    height: 20px;
  }
}

.card-block {
  display: flex;
  align-items: center;
  height: 50px;
  padding: 0.5em 0.7em;
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}

.account-history {
  .account-history-list {
    max-height: 320px;
    overflow: auto;
  }
  .record {
    cursor: default;
    &:hover .record-delete {
      display: block;
    }
    .record-delete {
      &:hover {
        text-decoration: underline;
      }
      color: #3273dc;
      display: none;
      cursor: pointer;
      float: right;
      font-size: 12px;
      line-height: 18px;
    }
  }
}


.dropdown-background {
  z-index: 1;
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
}
